/**
 * 
 * Author：liaozhanggen
 * Create Date：2017年2月28日
 * Version：v2.0
 */
package com.choosefine.it.team.model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 项目、班组调整价格实体
 * Author：liaozhanggen
 * Create Date：2017年2月28日
 * Version：v2.0
 */
public class PriceAdjustLog implements Serializable{

	/**
	 * 
	 * @author liaozhanggen 2017年2月28日
	 */
	private static final long serialVersionUID = -2365351419309869656L;
	
	
	private int id;
	private int objectId; //外键ID，项目或班组
	private BigDecimal priceAdjust; //调整后的金额
	private String reasonAdjust; //调整的原因
	private int type; //1是项目 ，2是班组
	private String operator;  //控制台操作员
	private long ctime; //调整的时间 
	

	
	/**
	 * 
	 * @author liaozhanggen 2017年2月28日
	 */
	public PriceAdjustLog() {
	}
	
	/**
	 * 
	 * @author liaozhanggen 2017年2月28日
	 */
	public PriceAdjustLog(int objectId, BigDecimal priceAdjust, String reasonAdjust, int type, String operator) {
		super();
		this.objectId = objectId;
		this.priceAdjust = priceAdjust;
		this.reasonAdjust = reasonAdjust;
		this.type = type;
		this.operator = operator;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getObjectId() {
		return objectId;
	}
	public void setObjectId(int objectId) {
		this.objectId = objectId;
	}
	public BigDecimal getPriceAdjust() {
		return priceAdjust;
	}
	public void setPriceAdjust(BigDecimal priceAdjust) {
		this.priceAdjust = priceAdjust;
	}
	public String getReasonAdjust() {
		return reasonAdjust;
	}
	public void setReasonAdjust(String reasonAdjust) {
		this.reasonAdjust = reasonAdjust;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	public long getCtime() {
		return ctime;
	}
	public void setCtime(long ctime) {
		this.ctime = ctime;
	} 
}